package api

import (
	"github.com/gin-gonic/gin"
	"good/api/hander"
)

func LartRouth(c *gin.Engine) {
	c.POST("/sendSms", hander.SendSms)

	c.POST("/login", hander.Login)

	//c.GET("/content", hander.Content)

	c.POST("/userfind", hander.Find)

	c.POST("/usershow", hander.UserShow)

	c.GET("/del", hander.Del)

	c.POST("/UserWs", hander.UserWs)

	c.POST("/upload", hander.Upload)

	c.POST("/comment", hander.Comment)

	c.GET("/commentlist", hander.CommentList)

	c.GET("/Message", hander.MessageList)

	c.GET("/messagedel", hander.MessageDel)

	c.GET("/SearchRecordShow", hander.SearchRecordShow)

	c.GET("/SearchRecordDel", hander.SearchRecordDel)
}
